<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>购物系统登录</title>

    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">

    <link rel="stylesheet" href="/public/stylesheet/login.css">
</head>
<body>

<div id="app" class="login-container">
    <el-row class="form-row">
        <el-col :span="24">
            <el-input v-model="account" placeholder="account"></el-input>
        </el-col>
    </el-row>

    <el-row class="form-row">
        <el-col :span="24">
            <el-input v-model="password" placeholder="password" type="password"></el-input>
        </el-col>
    </el-row>

    <div class="button-container">
        <el-button type="primary" v-on:click="login">log in</el-button>
    </div>

    <div class="button-container">
        <el-button v-on:click="u_register">sign up</el-button>
    </div>
</div>



<!-- 引入组件库 -->
<script src="/component/vue.js"></script>
<script src="/component/axios-0.18.0.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>

<!-- 引入js文件 -->
<script type="module" src="/public/javascript/login.js"></script>
</body>
</html>